package com.cole.gx095.domain;


import com.cole.gx095.entity.SaleBillgoods;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CostVo {
    List<SaleBillgoods> saleBillgoodsList;
    private String typeName;//SaleBillgoods  Correlation
    private String goodsName;//SaleBillgoods  Correlation
    /**
     * 型号
     */
    private String modle;//SaleBillgoods  Correlation
    private Double goodsUnitPrice;//SaleBillgoods  Correlation
    private Integer goodsAccount;//SaleBillgoods  Correlation


    private Integer id;//salebill
    /**
     * 此处为 salebill的状态
     * 0待完成 1已完成
     */
    private Integer status;//salebill
    /**
     * 0成本占用 1进入补票界面
     */
    private Integer billstatus;//salebill
    private Double correlationRate;//salebill

    private String billNum;//salebill
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date billDate;//salebill
    private String billType;//salebill
    private Double billAccount;//salebill

    private String contractNum;//salecontract
    private String buyUnit;//salecontract

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate;//salebill
    private String createAdminTrueName;//salebill

}
